package com.quick.domain;

import lombok.Builder;
import lombok.Singular;

import java.util.Set;

/**
 * @Builder注解提供了一种比较推崇的构建值对象的方式。
 * Created by wangxin332 on 2018/5/13.
 */
@Builder
public class UseBuilder {
    private String name;
    private int age;
    @Singular private Set<String> ations;
    //使用见UseBuilderTest
}
